package com.demo.util;

public class Demo6 {


    public static void main(String[] args) {
        Demo5 demo5 = new Demo5();
        Thread thread = new Thread(demo5 , "demo1");
        Thread thread1 = new Thread(demo5 , "demo2");
        Thread thread2 = new Thread(demo5 , "demo3");
        Thread thread3 = new Thread(demo5 , "demo4");
        thread.start();
        thread1.start();
        thread2.start();
        thread3.start();
    }
}
